package edu.pitt.dbmi.odie.gapp.gwt.client.analysis;

import com.google.gwt.user.client.rpc.AsyncCallback;

import edu.pitt.dbmi.odie.gapp.gwt.client.dao.ODIE_DaoAnalysis;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ODIE_AnalysisServiceAsync {
	
	void newInstance(String directoryHandle, String title, AsyncCallback<ODIE_DaoAnalysis> callback);
	
	void process(ODIE_DaoAnalysis analysis, AsyncCallback<ODIE_DaoAnalysis> callback);

	void select(ODIE_DaoAnalysis analysis, AsyncCallback<ODIE_DaoAnalysis> callback);

	void delete(ODIE_DaoAnalysis analysisDAO, AsyncCallback<Void> callback);

}
